/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package easyjetroster.controller;

import java.io.FileNotFoundException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;

/**
 *
 * @author Jappo
 */
public class Main {
     private static final String NIMBUS =
            "com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel";

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        setNimbus();
        Controller c = new Controller();
        try {
            c.parseRoster();
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

     private static void setNimbus() {
        try {
            UIManager.setLookAndFeel(NIMBUS);
        } catch (Exception e) {
            Logger.getLogger(Main.class.getName()).log(Level.WARNING, null, e);
        }
    }

}
